
<%@ page language="java"
	import="java.text.SimpleDateFormat,java.util.Date" pageEncoding="UTF-8"%>
<%@ page import="com.mobiusws.general.CellMapBean"%>

<html>
<head>
<%
String strKMZFile=CellMapBean.CellMapGenerator(0, null);
%>
<title>bypass monthly</title>
<script
	src="http://www.google.com/jsapi?key=ABQIAAAAvtat3apUqf1RsMNpunLGJRTBfUk9TZrBRaIteybtnU2KziHEpRQsPrmaojLxNm0LqiHxN9MTI_1AAw"
	type="text/javascript"></script>
<script type="text/javascript">
      var ge;
      google.load("earth", "1");

      function init() {
         google.earth.createInstance('map3d', initCB, failureCB);
      }

      function initCB(instance) {
	      ge = instance;
          ge.getWindow().setVisibility(true);
          ge.getLayerRoot().enableLayerById(ge.LAYER_BORDERS, true);
          ge.getLayerRoot().enableLayerById(ge.LAYER_ROADS, false);
          ge.getNavigationControl().setVisibility(ge.VISIBILITY_SHOW);

          var url = "http://127.0.0.1:8080/indosat/data/<%=strKMZFile%>";
         
          var link = ge.createLink("");
          link.setHref(url);

          var networkLink = ge.createNetworkLink('');
          networkLink.setLink(link);
          networkLink.setFlyToView(true);

          ge.getFeatures().appendChild(networkLink);


      }

      function failureCB(errorCode) {
      }

      google.setOnLoadCallback(init);
   </script>
</head>
<body>

	<div id="map3d"
		style="border: 1px solid silver; width: 750px; height: 570px;"></div>

</body>
</html>